package com.tedu.cooshark.dao;

import com.tedu.cooshark.entity.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProductMapper {
    List<Product> selectAll();
    List<Product> selectPage();
    int insertProduct(@Param("product") Product product);
    int deleteByid(@Param("product") Product product);
    int updateProduct(@Param("product") Product product);
}
